/**
*  \file cellbalancer_cfg.h
*
*  \brief
*
*  \author Michael J. Hohmann  <michael.hohmann@linde-mh.de>
*
*
*/

#ifndef CELLBALANCER_CFG_H_INCLUDED
#define CELLBALANCER_CFG_H_INCLUDED

/*================================================[ public includes  ]================================================*/
#include "../cfg/prj.h"

/*================================================[ public defines   ]================================================*/

/** Number of cells
*
*/
#define CELLBALANCER_MAX_CELLS  U16_CONST(10)

/** Discharge threshold
*
*	The discharging of one cell starts if the voltage between the highest and lowest charged cell is above this threshold.
*	The unit of this value is in [mV]
*/
#define CELLBALANCER_DISCHARGE_THRESHHOLD	U16_CONST(200)

/*================================================[ public datatypes ]================================================*/

/*================================================[ public variables ]================================================*/

/*================================================[ inline functions ]================================================*/

/*================================================[ public functions ]================================================*/

/*====================================================================================================================*/

#endif

/***********************************************************************************************************************
*                             Copyright 2019 Linde Material Handling. All rights reserved.                             *
***********************************************************************************************************************/
